package com.zcup.miaosha.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zcup.miaosha.entity.Commodity;

public interface CommodityService extends IService<Commodity> {
    //秒杀商品
    int kill(Integer id,Integer userId,String md5);

    //获取MD5签名
    String getMd5(Integer id, Integer userId);

    int kill(int id);
}
